<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>登录页面</title>
<style>
	*{margin:0px;padding:0px;}
	#main{margin:100px auto;text-align:center;width:80%;height:auto;background-color:aqua;}
	.form{margin:0 auto;width:80%;heigth:auto;background-color:blue;padding-top:30px;padding-bottom:30px;}
	#username,#password{width:300px;height:20px;margin-bottom:10px;}
	.go{margin-left:32px;width:300px;margin-top:10px;padding-top:5px;padding-bottom:5px;}
</style>
</head>
<body>
<div id="main">
	<div class="form">
		<form action="LoginServlet" method="post" id="login_form">
			<h1>登录界面</h1><br/>
			<label>账号</label>
			<input type="text" name="username" id="username"/><br/>
			<label>密码</label>
			<input type="text" name="password" id="password"/><br/>
			<input class="go" type="submit" value="登   录"/><br/>
			<input class="go" type="button" value="注   册" onclick="window.location.href='register.jsp'"/>
		</form>
	</div>
</div>
</body>
</html>
